home *** CD-ROM | disk | FTP | other *** search
- on ProcessSlot
- global gCurrentDrag, gWorldCoorList
- set thisSprite to 4
- spriteBox(thisSprite, 264, 300, 372, 389)
- set thisCast to getaProp(myCast, "CardDown3Q")
- set the castNum of sprite thisSprite to thisCast
- updateStage()
- wait(10)
- set thisCast to getaProp(myCast, "CardDownHalf")
- set the castNum of sprite thisSprite to thisCast
- updateStage()
- wait(10)
- set thisCast to getaProp(myCast, "CardDownQuarter")
- set the castNum of sprite thisSprite to thisCast
- updateStage()
- wait(10)
- set the itemDelimiter to "_"
- set thisCoor to value(the last item in gCurrentDrag)
- set the itemDelimiter to ","
- put thisCoor into item thisCoor of gWorldCoorList
- set newWorld to value(CheckState("SH-P-MAP"))
- set myMapInfo to value(item newWorld of gWorldCoorList)
- SetState("SH-P-INFO", myMapInfo)
- if myMapInfo >= 10 then
- SetState("SH-CoorAvail", 2)
- else
- SetState("SH-CoorAvail", 1)
- end if
- ShowSite(gCurrentSite, 0, 0)
- end
-
- on MapArrowNext
- global gWorldList, myCast, gWorldCoorList
- set thisSprite to the clickOn
- if the shiftDown then
- ReverseState("SH-P-MAP")
- else
- ChangeState("SH-P-MAP")
- end if
- set thisCast to getaProp(myCast, "SH-NextPlanet_SHIP-N_2")
- set the castNum of sprite thisSprite to thisCast
- myPlaySound("Fridge")
- set newWorld to value(CheckState("SH-P-MAP"))
- set myMapInfo to value(item newWorld of gWorldCoorList)
- SetState("SH-P-INFO", myMapInfo)
- if myMapInfo >= 10 then
- SetState("SH-CoorAvail", 2)
- else
- SetState("SH-CoorAvail", 1)
- end if
- ShowSite(gCurrentSite, 0, 0)
- end
-
- on ShowPlanetInfo
- set thisSprite to the clickOn
- set thisCast to getaProp(myCast, "SH-PlanetInfo_SHIP-N_2")
- set the castNum of sprite thisSprite to thisCast
- myPlaySound("Fridge")
- updateStage()
- wait(10)
- ShowSite(gCurrentSite, 0, 0)
- end
-
- on GotoPlanet
- global gMovieSprite
- set thisSprite to the clickOn
- set thisCast to getaProp(myCast, "SH-GotoPlanet_SHIP-N_2")
- set the castNum of sprite thisSprite to thisCast
- myPlaySound("Fridge")
- updateStage()
- wait(10)
- set newWorld to value(CheckState("SH-P-MAP"))
- SetState("SH-LandedStill", newWorld)
- set thisMovieFrm to 74 + newWorld
- go(thisMovieFrm)
- end
-
- on LaunchShip
- set thisSprite to the clickOn
- set thisCast to getaProp(myCast, "SH-LaunchShip_SHIP-N_2")
- set the castNum of sprite thisSprite to thisCast
- myPlaySound("Fridge")
- updateStage()
- wait(10)
- SetState("SH-ShipDoorBut", 1)
- SetState("SH-ShipInFlight", 2)
- set newWorld to value(CheckState("SH-P-MAP"))
- SetState("SH-LandedStill", newWorld)
- go("LaunchShip")
- ShowSite(gCurrentSite, 0, 0)
- end
-
- on LandShip
- global gMovieSprite
- set thisMovieFrm to 0
- set thisSprite to the clickOn
- set gWorldList to "SKYPORT,GIBRALTE,LOST,SURVIORS,MARCON,PROJECT,GROTTON,NAUGLE,MERIKA,SHIP1,SHIP2"
- set thisCast to getaProp(myCast, "SH-LandShip_SHIP-N_2")
- set the castNum of sprite thisSprite to thisCast
- myPlaySound("Fridge")
- updateStage()
- wait(10)
- SetState("SH-ShipDoorBut", 1)
- SetState("SH-ShipInFlight", 1)
- set newWorld to value(CheckState("SH-P-MAP"))
- SetState("SH-LandedStill", newWorld)
- set thisMovieFrm to 59 + newWorld
- go(thisMovieFrm)
- set myNewMovie to item newWorld of gWorldList
- play frame "LandShip" of movie myNewMovie
- end
-